package com.yunxin.core.application.command.channel;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

/**
 * @author zero°
 * @since 2023-12-16
 */
@Data
public class ChannelPromotionMerchantConfigOperateCommand {

    /**
     * 渠道编码code
     */
    @NotBlank(message = "渠道编码code不能为空")
    @Schema(description = "过滤商户ids")
    private String channelPromotionCode;

    /**
     * 过滤商户ids
     */
    @NotEmpty(message = "过滤商户ids不能为空")
    @Schema(description = "过滤商户ids")
    private List<Long> filterMerchants;

    /**
     * 指定商户ids
     */
    @Schema(description = "指定商户ids")
    private List<Long> appointMerchants;

    /**
     * 操作人
     */
    @Schema(hidden = true)
    private String operator;
}
